<template>
 
  <router-view/>
  <FootMusic v-show="isFooterShow" class="foot-play"/>
</template>

<script lang="ts">
import FootMusic from "./components/FootMusic.vue";
import { useStore } from "vuex";
import { computed } from "vue"
export default{
  components:{
    FootMusic
  },
  setup(){
    const store=useStore()
    const isFooterShow=computed(()=>store.state.isFooterShow)
    return {
      isFooterShow
    }
  }
}
</script>
<style lang="less">
.foot-play{
  width: 100%;
  height: 1.5rem;
  position: fixed;
  left:0;
  bottom: 0;
  background-color: #fff;
}
*{
  margin:0;
  padding: 0;
  // box-sizing: border-box;
}
</style>
